import requests

def getImage():
    prefix = "099_"
    baseUrl = "http://img3.qy0.ru/data/1432/19/" + prefix
    basePath = "download/"  # 设置保存路径

    for i in range(0,1):
        fileName = str(i).zfill(2) + '.jpg'
        url = baseUrl + fileName
        response = requests.get(url)

        path = basePath + prefix + fileName
        with open(path, 'wb') as output:
            output.write(response.content)
            output.close()
            print(prefix + fileName + '   ok')

getImage()